cs-notifications-papi icon

cs-notifications-papi

(0 reviews)

📘 API Documentation - CS Notifications PAPI

This section describes the attributes and usage of the cs-notifications-papi, version 1.0.0. It is a Process API to send SMS and Email messages.

💂️ Base Information

  • API Title: cs-notifications-papi
  • Version: 1.0.0
  • Base URL: https://cs-notifications-papi.cloudhub.io/

🔑 Authentication

Required Headers

HeaderTypeDescription
AuthorizationStringBearer token in the format Bearer {{API_KEY}}
client_idStringUnique identifier for API clients

📌 These headers are required in all requests.


✨ Endpoints

📧 Send Email

POST /email

  • Description: Sends email messages with optional file attachments or base64-encoded content.
Body Parameters (multipart/form-data)
ParameterTypeRequiredDescription
filesfile[]File(s) to be uploaded
bodyobjectEmail details (recipients, subject, etc.)
base64stringBase64 encoded PDF

📎 Example: examples/request/post-send-email.json

📎 Response Example: examples/response/post-send-email.raml


🔍 Track Email Notifications

GET /email/notification-track

  • Description: Retrieves tracking details for emails sent using the notification-track account.
Query Parameters
ParameterTypeExampleRequiredDescription
filterString{"mail_to":"juan.garcia@correo.com"}Filter criteria for email tracking

📎 Example: examples/response/get-email-notification-track.json


📩 Send SMS

POST /sms

  • Description: Sends SMS messages through the default provider.

📎 Request Example: examples/request/post-send-sms.raml

📎 Response Example: examples/response/post-send-sms.raml


📡 Send SMS via Twilio

POST /twilio/sms

  • Description: Sends SMS messages through Twilio.

📎 Request Example: examples/request/post-send-sms-twilio.json

📎 Response Example: examples/response/post-send-sms-twilio.json


🔎 Track Email Notifications (v2)

GET /v2/email/notification-track

  • Description: Retrieves tracking details with provider and account filters.
Query Parameters
ParameterTypeExampleRequiredDescription
providerIdString10225e9b-87ed-4875-a959-6835061cbc97Email provider ID
accountIdString8e109488-4617-40ca-b67c-efcb83d566f2Email account ID
filterString{"mail_to":"juan.garcia@correo.com"}Filter criteria

📎 Example: examples/response/get-email-notification-track.json


🔐 Security Schemes

Client ID Enforcement

FieldTypeRequiredLengthRegex
client_idStringYes32 - 36[a-zA-Z0-9]

OAuth 2.0

FieldTypeRequiredLengthRegex
AuthorizationStringYes36 - 37[a-zA-Z0-9-_.]

⚠️ Error Codes

CodeDescriptionSuggested Solution
400Bad RequestCheck input data and format.
401UnauthorizedVerify authentication credentials.
404Not FoundRequested resource not found.
500Internal Server ErrorRetry or contact technical support.

📞 Support

For assistance, contact the Integration Services and Applications Coordination team.

Email: epalma@fg


Last updated: April 2025


Reviews